package com.um.jdy.common.activity.code;

import com.um.springboot.starter.utils.EnumUtil;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 邓南辉
 * 日期 2023/2/14
 * 版权所有 广州优匠科技有限公司
 */
@Getter
@AllArgsConstructor
public enum CouponsCode implements EnumUtil.ErrorEnum {


    CouponsNotExist(51001,"优惠券不存在"),
    CouponsExpired(51002,"优惠券已过期"),
    NotReachedCoupons(51003,"未达到优惠券使用门槛"),
    Received(51004,"优惠券已领取"),
    ReceivedCompleted(51005,"该优惠券已领完"),


    ;

    private Integer code;
    private String msg;


}